<!-- box01 市区町村で検索 -->
<div class="box01">
	<h3><img src="{$apm.baseurl}images/search/common/h3_city_search.jpg" alt="市区町村で検索する　住みたい市区町村を選択してください。" width="710" height="38" /></h3>
	<div class="boxInner">
		<div class="selectBlock">
			<div class="selectObj">
				<div class="inner">
					<select multiple size="14" name='CityCd[]'>
						<option value="999" selected>■■■■■市区町村を選択してください■■■■■</option>

{assign var="beforePrefCd" value=null}

{foreach from=$cityList item=city}
	{if $beforePrefCd != $city.TODOUFUKEN_CD}
						<option value="999">------------{$city.M43_TODOUFUKEN}({$city.PREF_HEYA_CNT}件)------------------------------</option>
	{/if}
	
	{if $city.PREF_HEYA_CNT > 0}
		{if $city.REC_CNT > 0}
						<option value="{$city.SHIKUCHOUSON_CD}">{$city.SHIKUCHOUSON}({$city.REC_CNT}件)</option>
		{else}
						<option value="000">{$city.SHIKUCHOUSON}({$city.REC_CNT}件)</option>
		{/if}
	{/if}
	
	{assign var="beforePrefCd" value=$city.TODOUFUKEN_CD}
{/foreach}
					</select>
				</div>
			</div>
			<div class="btnBlock">
				<p class="btn"><a href="javascript:submit_frm('05')"><img src="{$apm.baseurl}images/search/common/btn_select_town.jpg" alt="町名を選択する" width="176" height="38" class="rollImg" /></a></p>
				<p><a href="javascript:submit_frm('03')"><img src="{$apm.baseurl}images/search/common/btn_noselect_town.jpg" alt="町名を選択しない" width="176" height="38" class="rollImg" /></a></p>
			</div>
		</div>
		<p class="attTxt04">※<img src="{$apm.baseurl}images/search/common/icon_ctrl.gif" alt="ctrl" width="29" height="13" />キー（Macの場合Commandキー）を押しながらクリックで10ヵ所まで複数選択できます。</p>						
	</div>
</div>
<!-- /box01 市区町村で検索 -->